package com.ihisomp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 科室与职能关系
 * </p>
 *
 * @author zy
 * @since 2022-03-22
 */
@TableName("t_org_dept_to_function")
public class OrgDeptToFunction implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "dept_to_function_key", type = IdType.INPUT)
    private String deptToFunctionKey;

    /**
     * 科室主键
     */
    private String deptKey;

    /**
     * 科室职能主键
     */
    private String deptFunctionKey;

    private String orgKey;

    public String getDeptToFunctionKey() {
        return deptToFunctionKey;
    }

    public void setDeptToFunctionKey(String deptToFunctionKey) {
        this.deptToFunctionKey = deptToFunctionKey;
    }
    public String getDeptKey() {
        return deptKey;
    }

    public void setDeptKey(String deptKey) {
        this.deptKey = deptKey;
    }
    public String getDeptFunctionKey() {
        return deptFunctionKey;
    }

    public void setDeptFunctionKey(String deptFunctionKey) {
        this.deptFunctionKey = deptFunctionKey;
    }
    public String getOrgKey() {
        return orgKey;
    }

    public void setOrgKey(String orgKey) {
        this.orgKey = orgKey;
    }

    @Override
    public String toString() {
        return "OrgDeptToFunction{" +
            "deptToFunctionKey=" + deptToFunctionKey +
            ", deptKey=" + deptKey +
            ", deptFunctionKey=" + deptFunctionKey +
            ", orgKey=" + orgKey +
        "}";
    }
}
